package nicg.st.entity;

/**
 * 参数模板信息
 * 
 * @author GeChen
 *
 */
public class ParamPrototype {
	/**
	 * 输入参数类型的TYPE
	 */
	public static int INPUT_PARAM = 0;
	/**
	 * 预设参数类型的TYPE
	 */
	public static int PRESET_PARAM = 1;
	/**
	 * 滑动框最大值的MAPPING
	 */
	public static String PARAM_MAX_MAPPING = "param_max_id";
	/**
	 * 滑动框最小值的MAPPING
	 */
	public static String PARAM_MIN_MAPPING = "param_min_id";
	/**
	 * 滑动框间隔的MAPPING
	 */
	public static String PARAM_STEP_MAPPING = "param_step_id";
	private Integer id;
	private Integer methodId;
	private String paramPrototype;
	private Integer type;
	private String mapping;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMethodId() {
		return methodId;
	}

	public void setMethodId(Integer methodId) {
		this.methodId = methodId;
	}

	public String getParamPrototype() {
		return paramPrototype;
	}

	public void setParamPrototype(String paramPrototype) {
		this.paramPrototype = paramPrototype;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getMapping() {
		return mapping;
	}

	public void setMapping(String mapping) {
		this.mapping = mapping;
	}

	@Override
	public String toString() {
		return "ParamPrototype [id=" + id + ", methodId=" + methodId + ", paramPrototype=" + paramPrototype + ", type="
				+ type + ", mapping=" + mapping + "]";
	}

}
